package io.renren.modules.mapp.service;

import com.alibaba.fastjson.JSONObject;
import io.renren.modules.mapp.entity.UserInfo;
import io.renren.modules.mapp.exception.ConfigurationException;
import io.renren.modules.mapp.exception.LoginServiceException;

/**
 * Created by Administrator on 2017/7/31 0031.
 */
public interface LoginService {
     UserInfo check(String id, String skey) throws LoginServiceException, ConfigurationException;
     JSONObject login(String code, String encryptedData, String iv) ;
}
